package com.runtime.hongyunmanage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.runtime.hongyunmanage.bean.Categories;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface CategoryService extends IService<Categories> {

    boolean addCategory(Categories categories);

    Categories getCategoryById(Long categoryId);

    List<Categories> getCategoryList(Long parentId, String keyword);

    boolean updateCategory(Categories categories);

    boolean deleteCategory(Long categoryId);


    boolean deleteCategoryimage(Categories category);
}